Camera2D Class
Description:
A class for creating Camera2D objects.
__call
Type: Metamethod.
Description:
Creates a new Camera2D object with the given name.
Signature:
metamethod __call: function(
self: Camera2DClass,
name?: string --[[""]]
): Camera2D
Parameters:
Parameter | Type | Description |
---|---|---|
name | string | The name of the Camera2D object. Defaults to an empty string. |
Returns:
Return Type | Description |
---|---|
Camera2D | A new instance of the Camera2D object. |